package com.live.http.slider;

import java.util.concurrent.ArrayBlockingQueue;

public class PageChannel {
	
	private ArrayBlockingQueue<Page> pageChannel = new ArrayBlockingQueue<Page>(
			16);

	public void addPage(Page page) {
		pageChannel.add(page);
	}

	public void takePage(Page page) throws Exception {
		pageChannel.take();
	}
}
